package org.travel_system.service;

import org.travel_system.pojo.Complaint;

import java.util.List;

public interface ComplaintService {
    Complaint getComplaintById(int id);

    List<Complaint> getComplaints(Integer touristId);

    int addComplaint(Complaint complaint);

    int deleteComplaint(Complaint complaint);

    int updateComplaint(Complaint complaint);

    List<Complaint> getAllComplaints();

    String getFileTypeFromUrl(String url);
}
